Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support Neoforge #2548

Merged
merged 118 commits into from
Jan 8, 2024
Merged

Support Neoforge #2548

merged 118 commits into from
Jan 8, 2024

Conversation

burningtnt
Copy link
Member

@burningtnt burningtnt commented Oct 21, 2023

Close #2509 Close #2406 Close #2602

…Image

FXUtils.newBuiltinImage is used to load image which is supposed to be correct definitely and is a file within the jar. Or, it will throw ResourceNotFoundError.

FXUtils.newRemoteImage is used to load image from the internet. It will cache the data of images for the further usage. The cached data will be deleted when HMCL is closed or hidden.
@burningtnt burningtnt marked this pull request as ready for review December 16, 2023 07:32
@burningtnt
Copy link
Member Author

你好,NeoForge!

@huanghongxun
Copy link
Collaborator

dynamic-remote-resource 是做什么的?

@burningtnt
Copy link
Member Author

dynamic-remote-resource 是做什么的?

请先查看 Enhance Mod Download PR,其中有对这一系列更改的介绍

# Conflicts:
#	HMCL/src/main/java/org/jackhuang/hmcl/game/HMCLGameRepository.java
#	HMCL/src/main/java/org/jackhuang/hmcl/ui/InstallerItem.java
#	HMCL/src/main/java/org/jackhuang/hmcl/ui/versions/DownloadPage.java
#	HMCL/src/main/java/org/jackhuang/hmcl/ui/versions/ModListPageSkin.java
#	HMCLCore/src/main/java/org/jackhuang/hmcl/download/LibraryAnalyzer.java
#	HMCLCore/src/main/java/org/jackhuang/hmcl/mod/ModLoaderType.java
@burningtnt
Copy link
Member Author

burningtnt commented Jan 5, 2024

NeoForge 的安装器已定稿,应该不会有什么大变化,可以审查代码并合并了。

@burningtnt burningtnt closed this Jan 5, 2024
@burningtnt burningtnt mentioned this pull request Jan 5, 2024
@burningtnt burningtnt reopened this Jan 5, 2024
@huanghongxun
Copy link
Collaborator

代码里面一会儿NeoForge一会儿NeoForged会导致潜在bug,选择一种统一写法。

@burningtnt
Copy link
Member Author

NeoForged 官方也在混用这两种称呼…… 代码里我都清理为 NeoForge 了,但那些 API 啥的,我保留不动,这个没办法

@huanghongxun huanghongxun merged commit 4149876 into HMCL-dev:javafx Jan 8, 2024
3 checks passed
@burningtnt burningtnt deleted the neoforge branch January 8, 2024 12:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
3 participants